3.933 \(\int \frac{\left (c x^2\right )^{3/2} (a+b x)^n}{x^2} \, dx\)

Optimal. Leaf size=65 \[ \frac{c \sqrt{c x^2} (a+b x)^{n+2}}{b^2 (n+2) x}-\frac{a c \sqrt{c x^2} (a+b x)^{n+1}}{b^2 (n+1) x} \]

[Out]

-((a*c*Sqrt[c*x^2]*(a + b*x)^(1 + n))/(b^2*(1 + n)*x)) + (c*Sqrt[c*x^2]*(a + b*x
)^(2 + n))/(b^2*(2 + n)*x)

_______________________________________________________________________________________

Rubi [A]  time = 0.0477293, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ \frac{c \sqrt{c x^2} (a+b x)^{n+2}}{b^2 (n+2) x}-\frac{a c \sqrt{c x^2} (a+b x)^{n+1}}{b^2 (n+1) x} \]

Antiderivative was successfully verified.

[In]  Int[((c*x^2)^(3/2)*(a + b*x)^n)/x^2,x]

[Out]

-((a*c*Sqrt[c*x^2]*(a + b*x)^(1 + n))/(b^2*(1 + n)*x)) + (c*Sqrt[c*x^2]*(a + b*x
)^(2 + n))/(b^2*(2 + n)*x)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 18.6651, size = 54, normalized size = 0.83 \[ - \frac{a c \sqrt{c x^{2}} \left (a + b x\right )^{n + 1}}{b^{2} x \left (n + 1\right )} + \frac{c \sqrt{c x^{2}} \left (a + b x\right )^{n + 2}}{b^{2} x \left (n + 2\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((c*x**2)**(3/2)*(b*x+a)**n/x**2,x)

[Out]

-a*c*sqrt(c*x**2)*(a + b*x)**(n + 1)/(b**2*x*(n + 1)) + c*sqrt(c*x**2)*(a + b*x)
**(n + 2)/(b**2*x*(n + 2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0383413, size = 46, normalized size = 0.71 \[ \frac{c^2 x (a+b x)^{n+1} (b (n+1) x-a)}{b^2 (n+1) (n+2) \sqrt{c x^2}} \]

Antiderivative was successfully verified.

[In]  Integrate[((c*x^2)^(3/2)*(a + b*x)^n)/x^2,x]

[Out]

(c^2*x*(a + b*x)^(1 + n)*(-a + b*(1 + n)*x))/(b^2*(1 + n)*(2 + n)*Sqrt[c*x^2])

_______________________________________________________________________________________

Maple [A]  time = 0.003, size = 46, normalized size = 0.7 \[ -{\frac{ \left ( bx+a \right ) ^{1+n} \left ( -bxn-bx+a \right ) }{{x}^{3}{b}^{2} \left ({n}^{2}+3\,n+2 \right ) } \left ( c{x}^{2} \right ) ^{{\frac{3}{2}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((c*x^2)^(3/2)*(b*x+a)^n/x^2,x)

[Out]

-(b*x+a)^(1+n)*(c*x^2)^(3/2)*(-b*n*x-b*x+a)/x^3/b^2/(n^2+3*n+2)

_______________________________________________________________________________________

Maxima [A]  time = 1.34242, size = 69, normalized size = 1.06 \[ \frac{{\left (b^{2} c^{\frac{3}{2}}{\left (n + 1\right )} x^{2} + a b c^{\frac{3}{2}} n x - a^{2} c^{\frac{3}{2}}\right )}{\left (b x + a\right )}^{n}}{{\left (n^{2} + 3 \, n + 2\right )} b^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2)^(3/2)*(b*x + a)^n/x^2,x, algorithm="maxima")

[Out]

(b^2*c^(3/2)*(n + 1)*x^2 + a*b*c^(3/2)*n*x - a^2*c^(3/2))*(b*x + a)^n/((n^2 + 3*
n + 2)*b^2)

_______________________________________________________________________________________

Fricas [A]  time = 0.227118, size = 92, normalized size = 1.42 \[ \frac{{\left (a b c n x - a^{2} c +{\left (b^{2} c n + b^{2} c\right )} x^{2}\right )} \sqrt{c x^{2}}{\left (b x + a\right )}^{n}}{{\left (b^{2} n^{2} + 3 \, b^{2} n + 2 \, b^{2}\right )} x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2)^(3/2)*(b*x + a)^n/x^2,x, algorithm="fricas")

[Out]

(a*b*c*n*x - a^2*c + (b^2*c*n + b^2*c)*x^2)*sqrt(c*x^2)*(b*x + a)^n/((b^2*n^2 +
3*b^2*n + 2*b^2)*x)

_______________________________________________________________________________________

Sympy [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x**2)**(3/2)*(b*x+a)**n/x**2,x)

[Out]

Exception raised: TypeError

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.209217, size = 174, normalized size = 2.68 \[{\left (\frac{a^{2} e^{\left (n{\rm ln}\left (a\right )\right )}{\rm sign}\left (x\right )}{b^{2} n^{2} + 3 \, b^{2} n + 2 \, b^{2}} + \frac{b^{2} n x^{2} e^{\left (n{\rm ln}\left (b x + a\right )\right )}{\rm sign}\left (x\right ) + a b n x e^{\left (n{\rm ln}\left (b x + a\right )\right )}{\rm sign}\left (x\right ) + b^{2} x^{2} e^{\left (n{\rm ln}\left (b x + a\right )\right )}{\rm sign}\left (x\right ) - a^{2} e^{\left (n{\rm ln}\left (b x + a\right )\right )}{\rm sign}\left (x\right )}{b^{2} n^{2} + 3 \, b^{2} n + 2 \, b^{2}}\right )} c^{\frac{3}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2)^(3/2)*(b*x + a)^n/x^2,x, algorithm="giac")

[Out]

(a^2*e^(n*ln(a))*sign(x)/(b^2*n^2 + 3*b^2*n + 2*b^2) + (b^2*n*x^2*e^(n*ln(b*x +
a))*sign(x) + a*b*n*x*e^(n*ln(b*x + a))*sign(x) + b^2*x^2*e^(n*ln(b*x + a))*sign
(x) - a^2*e^(n*ln(b*x + a))*sign(x))/(b^2*n^2 + 3*b^2*n + 2*b^2))*c^(3/2)